import request from '@/utils/request'

/** 新增用户组*/
export function insertUsergroup(data) {
  return request({
    url: '/tSecUsergroup/insertUsergroup',
    method: 'post',
    data
  })
}

/** 更新用户组*/
export function updateUsergroup(data) {
  return request({
    url: '/tSecUsergroup/updateUsergroup',
    method: 'post',
    data
  })
}

/** 删除用户组*/
export function delUsergroup(data) {
  return request({
    url: '/tSecUsergroup/delUsergroup',
    method: 'post',
    data
  })
}

/** 查询员工类型列表*/
export function queryStaffTypeList(data = {}) {
  return request({
    url: '/common/queryStaffTypeList',
    method: 'post',
    data
  })
}
